﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WMS_Api.Areas.WCSSystem.Models
{
    /// <summary>
    /// 同步WCS任务状态参数
    /// </summary>
    public class TaskStatusModel
    {
        /// <summary>
        /// 库区编码
        /// </summary>
        public string ZoneCode { get; set; }

        /// <summary>
        /// 任务编号
        /// </summary>
        public string WmsTaskId { get; set; }

        /// <summary>
        /// 任务状态 2:电气执行，-1:取消，3:完成
        /// </summary>
        public int TaskState { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Time { get; set; }

        /// <summary>
        /// 过账方式 1:wcs手动，0:电气自动
        /// </summary>
        public int ByWay { get; set; }
    }

    /// <summary>
    /// WCS 入库任务申请
    /// </summary>
    public class TaskApplyPutModel
    {
        /// <summary>
        /// 库区编码
        /// </summary>
        public string ZoneCode { get; set; }

        /// <summary>
        /// 入库口输送机设备号
        /// </summary>
        public string ConveyorDeviceCode { get; set; }

        /// <summary>
        /// 托盘编码
        /// </summary>
        public string TrayCode { get; set; }
    }

    /// <summary>
    /// WCS 移库任务申请
    /// </summary>
    public class TaskApplyMoveModel
    {
        /// <summary>
        /// 库区编码
        /// </summary>
        public string ZoneCode { get; set; }

        /// <summary>
        /// 开始货位
        /// </summary>
        public string PositionS { get; set; }

        /// <summary>
        /// 托盘码
        /// </summary>
        public string TrayCode { get; set; }
    }
}